package entity

/*
   @author:zhongyang
   @date:2023/4/5
   @description:问题集实体
*/

type Question struct {
	QuestionId   string `gorm:"column:question_id;type:varchar(36);primary_key;comment:主键id" json:"question_id"`
	Question     string `gorm:"column:question;type:varchar(50);comment:问题;NOT NULL" json:"question"`
	Answer       string `gorm:"column:answer;type:text;comment:解答;NOT NULL" json:"answer"`
	PlanId       string `gorm:"column:plan_id;type:varchar(36);comment:计划id;NOT NULL" json:"plan_id"`
	UserId       string `gorm:"column:user_id;type:varchar(36);comment:用户id;NOT NULL" json:"user_id"`
	TodoTaskDate string `gorm:"column:todo_task_date;type:varchar(10);comment:对应待办日期;NOT NULL" json:"todo_task_date"`
}
